/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package exec;

import javax.swing.JEditorPane;

/**
 *
 * @author fromenje et fraissea nomtidjou
 */
public class Tabs {
    private String name;
    private JEditorPane tab;

    public JEditorPane getTab() {
        return tab;
    }

    public void setTab(JEditorPane tab) {
        this.tab = tab;
    }
    
    public void setNomTab(String name) {
        this.name = name;
    }
    
    public String getNomTab() {
        return this.name;
    }
    
    public Tabs(String name, JEditorPane tab) {  
        this.tab = tab;
        this.name = name;
    }
}